﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeSAddress.model
{
    public class WeSAddressStatusResult
    {
        public static int STATUS_VALID_TOKEN_CODE = 0;
        public static string STATUS_VALID_TOKEN_TEXT = "Ok";

        public static int STATUS_INVALID_ADDRESS_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_INVALID_ADDRESS_TEXT = "No Address Has been founded";

        public static int STATUS_ZERO_ZIPCODE_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_ZERO_ZIPCODE_TEXT = "ZipCode cannot = 0";

        public static int STATUS_INVALID_HOUSENUMBER_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_INVALID_HOUSENUMBER_TEXT = "House number cannot be found";

        public static int STATUS_INVALID_ZIPCODE_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_INVALID_ZIPCODE_TEXT = "No City Has been founded";

        public static int STATUS_NOT_ALLOW_IP_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_NOT_ALLOW_IP_TEXT = "IP address {0} is not allowed";

        public int statusCode { get; set; }
        public string statusText { get; set; }
    }
}